set VsEnvFile="D:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat"
if not exist %VsEnvFile% goto aaa
call %VsEnvFile%
goto bbb
:aaa
set VsEnvFile="C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat"
if not exist %VsEnvFile% goto bbb
call %VsEnvFile%
:bbb

cl dft.cpp /W3 /ID:\opencv2.0\include\opencv /LIBPATH:D:\opencv2.0-vs2008\lib D:\opencv2.0-vs2008\lib\cv200.lib D:\opencv2.0-vs2008\lib\cxcore200.lib D:\opencv2.0-vs2008\lib\highgui200.lib

cl dft1.cpp /W3 /ID:\opencv2.0\include\opencv /LIBPATH:D:\opencv2.0-vs2008\lib D:\opencv2.0-vs2008\lib\cv200.lib D:\opencv2.0-vs2008\lib\cxcore200.lib D:\opencv2.0-vs2008\lib\highgui200.lib
pause
